#{extends 'main.html' /}
#{set title:'Comment' /}


<div class="Comments">
        <h3>
            ${i.comments.size() ?: 'no'} 
            comment${i.comments.size().pluralize()}
        </h3>
    
        
        #{list items:i.comments, as:'Comment'}
           
            <div class="Comment">
             <div class="comment-body">
                    <div class="about"></div>
           <li>${Comment.body}</li>
                </div>
                <div class="comment-metadata">
                    <span class="comment-commentator">by ${comment.commentator.name},</span>
                    <span class="comment-date">
                        ${comment.posttime.format('dd MMM yy')}
                    </span>
                </div>
                
</div>
</div>
 #{/list}